<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>写报告</title>
    <link rel="stylesheet" href="../static/lib/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/base/base.css">
    <link rel="stylesheet" href="../static/css/components/add-article.css">
    <link rel="stylesheet" href="../static/ueditor/themes/default/css/umeditor.css">
    <link rel="stylesheet" href="../static/css/components/write.css">

</head>

<body>
<ul class="layui-nav header-nav" lay-filter="">
    <li class="layui-nav-item">
        <a href="">logo</a>
    </li>
    <li class="layui-nav-item">
        <a href="../index.html">文章管理</a>
    </li>
    <li class="layui-nav-item  layui-this">
        <a href="active.html">活动管理</a>
    </li>
    <li class="layui-nav-item">
        <a href="../tea/tea.html">茶馆管理</a>
    </li>
    <li class="layui-nav-item">
        <a href="../collection/collection.html">藏家行情</a>
    </li>
    <li class="layui-nav-item">
        <a href="../proprietary/proprietary.html">自营商品</a>
    </li>
    <li class="layui-nav-item">
        <a href="../banner/banner.html">banner管理</a>
    </li>
    <li class="layui-nav-item">
        <a href="../sms/sms.html">短信模板</a>
    </li>
    <!-- 头部右侧 -->
    <div class="header-right">
        <div class="help">
            <i class="layui-icon layui-icon-help ic-help" style="font-size: 6px; "></i>
        </div>
        <li class="layui-nav-item">

            <a href="">帮助</a>
        </li>
        <li class="layui-nav-item">
            <a href="">
                <img src="http://t.cn/RCzsdCq" class="layui-nav-img">我</a>
        </li>
    </div>
</ul>

    <!-- 面包屑 -->
    <div class="breadcrumb">
        <span class="layui-breadcrumb" lay-separator=">">
            <a href="">全部活动</a>
            <a href="">写报告</a>
        </span>
    </div>


    <!-- 中间内容区 -->
    <div class="container">
        <div class="con-left fl">
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a href="javascript:;">活动管理</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="active.html">全部活动</a>
                        </dd>
                        <dd class="active-require">
                            <a href="act-reqire.html">活动请求</a>
                            <div class="active-circle">1</div>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
        <!-- 中间区域右侧 -->
        <div class="con-right fr">
            <!-- 文章标题 -->
            <form class="layui-form add-form" action="">
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <label class="layui-form-label act-name">活动名称：</label>
                        <div class="active-name">绿茶知多少</div>
                    </div>
                </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <span class="title">文章正文</span>
                            <!-- 编辑器 -->
                            <textarea id="write-text"></textarea>
                        </div>
                    </div>

                    <div class="layui-form-item save">
                        <div class="layui-input-block">
                            <button class="layui-btn preview" lay-submit lay-filter="formDemo">预览</button>
                            <button class="layui-btn preview" lay-submit lay-filter="formDemo">保存</button>
                        </div>
                    </div>
                </form>


        </div>



        <script src="../static/lib/layui/layui.all.js"></script>
        <script src="../static/ueditor/jquery.js"></script>
        <script src="../static/ueditor/umeditor.config.js"></script>
        <script src="../static/ueditor/umeditor.js"></script>
        <script src="../static/ueditor/lang/zh-cn/zh-cn.js"></script>


        <script>
            ; !function () {
                //无需再执行layui.use()方法加载模块，直接使用即可
                var form = layui.form
                    , layer = layui.layer;
                form.on('submit(formDemo)', function (data) {
                    layer.msg(JSON.stringify(data.field));
                    return false;
                });

            }();


            var um = UM.getEditor('write-text', {
                initialFrameWidth: 800,
                initialFrameHeight: 450,
                initialContent: '内容'
            });
        </script>





</body>

</html>